<?php
namespace app\index\model;

use think\Model;

class Dt extends Model
{
    public function dtAdd( $data )
    {
        return $this -> insert( $data ); 
    }
    public function ListAll( $page,$limit,$where )
    {
        return $this -> where( $where ) -> paginate( $limit, false, ['page' => $page]);
    }
}